package ee.project.linkedlist;

public class ListNode {

	ListNode(Object theElement) {
		this(theElement, null);
	}

	public ListNode(Object theElement, ListNode n) {
		element = theElement;
		next = n;
	}

	public Object element;
	public ListNode next;
}
